﻿using System.Threading.Tasks;

namespace Mt.Site.Core.BadWordsFilters
{
    /// <summary>
    /// 敏感词管理
    /// </summary>
    public interface IBadWordFilterManager
    {
        Task<string> GetWordsTextAsync();

        Task SaveNewWordsText(string txt);

        string CheckBadWords(string txt, bool throwError = false);
    }
}
